package com.ruicar.afs.cloud.channel.event;

import com.ruicar.afs.cloud.admin.api.event.AfsOnRoleChange;
import com.ruicar.afs.cloud.admin.api.event.RoleChangeEventParam;
import com.ruicar.afs.cloud.common.core.security.vo.RoleVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author Ice
 */
@Component
@Slf4j
@Service
public class AfsRoleChangeEvent implements AfsOnRoleChange {
    @Override
    public boolean onRoleChange(RoleChangeEventParam roleChangeEventParam) {
        List<RoleVo> role = roleChangeEventParam.getRoleVos();
        return true;
    }
}
